//
//  MonsterCardZone.cpp
//  Test
//
//  Created by Pedram Ardeshirzadeh on 20-07-12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#include "MonsterCardZone.h"

MonsterCardZone::MonsterCardZone() {
    cout << "MonsterCardZone created" << endl;
}

void MonsterCardZone::addCard(Card *c) {
    assert(c != NULL);
    
    if (monsterCard == NULL)
        monsterCard = (MonsterCard*)c;
}

void MonsterCardZone::removeCard(Card *c) {
    assert(c != NULL);
    
    if (*c == *monsterCard)
        monsterCard = NULL;
}
